Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14 (Paperback)

Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14 (Paperback)

作者: Scott Meyers
出版社: O'Reilly
出版在: 2014-12-12
ISBN-13: 9781491903995
ISBN-10: 1491903996
裝訂格式: Paperback
總頁數: 334 頁





內容描述


Coming to grips with C++11 and C++14 is more than a matter of familiarizing yourself with the features they introduce (e.g., auto type declarations, move semantics, lambda expressions, and concurrency support). The challenge is learning to use those features effectively—so that your software is correct, efficient, maintainable, and portable. That’s where this practical book comes in. It describes how to write truly great software using C++11 and C++14—i.e. using modern C++.
Topics include:

The pros and cons of braced initialization, noexcept specifications, perfect forwarding, and smart pointer make functions
The relationships among std::move, std::forward, rvalue references, and universal references
Techniques for writing clear, correct, effective lambda expressions
How std::atomic differs from volatile, how each should be used, and how they relate to C++'s concurrency API
How best practices in "old" C++ programming (i.e., C++98) require revision for software development in modern C++

Effective Modern C++ follows the proven guideline-based, example-driven format of Scott Meyers' earlier books, but covers entirely new material.




相關書籍

Learn Windows Subsystem for Linux: A Practical Guide for Developers and It Professionals

作者 Singh Prateek

2014-12-12

圖解 TCP/IP 網路通訊協定 (涵蓋IPv6)(2021修訂版)

作者 井上直也 村山公保 竹下隆史 荒井透 苅田幸雄 吳嘉芳 譯

2014-12-12

計算概論:C++編程與信息學競賽入門

作者 金靖

2014-12-12